package com.lovo.dimao.entity.joe;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;
import java.util.List;


@ApiModel(value = "采购申请表",description = "")
@TableName("csc_purchase")
@Data
public class PurchaseBean implements Serializable{
    /**
     * 采购申请id
     */
    @ApiModelProperty(name = "采购申请id", notes = "")
    @TableId
    private Long purchaseId;
    /**
     * 采购备注
     */
    @ApiModelProperty(name = "采购备注", notes = "")
    private String purchaseRemind;
    /**
     * 采购申请时间
     */
    @ApiModelProperty(name = "采购申请时间", notes = "")
    private LocalDateTime purchaseTime;
    /**
     * 申请结果
     */
    @ApiModelProperty(name = "申请结果", notes = "")
    private Integer purchaseResult;
    /**
     * 申请驳回反馈
     */
    @ApiModelProperty(name = "申请驳回反馈", notes = "")
    private String resultRemind;

    @ApiModelProperty(name = "采购申请商品明细")
    @TableField(exist = false)
    private List<PurchaseDetailBean> purchaseDetailBeans;
}